package cn.gok.staticProxy2;

/**
 * @author: chen fan
 * @since: 2022/11/9 10:41
 * @description:
 */
public class Test {
    public static void main(String[] args) {
        UserService userService = new UserServiceProxy();
        test1(userService);
//        test2(userService);
//        test3(userService);
    }

    public static void  test1(UserService userService){
        userService.service();
    }
    public static void  test2(UserService userService){
        userService.service();
    }
    public static void  test3(UserService userService){
        userService.service();
    }
}
